package com.bootdo.core.dao;

import com.bootdo.core.domain.UserCoreDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 用户表
 * @author xgc
 * @email 1992lcg@163.com
 * @date 2019-04-17 19:21:16
 */
@Mapper
public interface UserCoreDao {

	UserCoreDO get(Integer id);
	
	List<UserCoreDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(UserCoreDO user);
	
	int update(UserCoreDO user);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	int review(@Param(value = "id")Integer id, @Param(value = "isAuth")String isAuth);

	int updatePoint(UserCoreDO user);
}
